<template>
  <a-config-provider :locale="zhCN" :theme="customTheme">
    <div class="">
      <main-top-bar />
      <div class="flex flex-1">
        <div class="flex-1 overflow-auto">
          <router-view />
        </div>
      </div>
    </div>
  </a-config-provider>
</template>

<script setup>
import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
import TopMenu from "@/components/TopMenu";
import MainTopBar from "@/components/MainTopBar/MainTopBar.vue";
import { customTheme } from "@/utils/customTheme";


dayjs.locale(zhCN.locale);
</script>
